package homework_03;

import java.util.Scanner;

/**
 * 判断奇偶数
 */
public class Test_05 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入正整数：");
        int num = sc.nextInt();
        if(num % 2 == 0){
            System.out.println("是偶数");
        }else{
            System.out.println("是奇数");
        }
    }
}
